package cn.huiyunche.base.service.mappers.ext;

import cn.huiyunche.base.service.model.SOrderVin;
import cn.huiyunche.base.service.vo.*;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

public interface SOrderViewMapper {

    SOrderInfoVo selectInfoByOrderId(@Param(value = "orderid") Long orderid);

    SOrderVo selectByPrimaryKey(@Param(value = "sorderId") Long sorderId);

    SOrderFeedetailTypeIdVo selectfeeDetailsForOrder(@Param(value = "id") Long id);

    OrderDetailAdminVo selectVehiclesForOrder(@Param(value = "id") Long id);

    SOrderVinVo selectOrderVinsForOrder(@Param(value = "id") Long id);

    SOrderVin selectVinsForOrderDetail(@Param(value = "id") Long id);

    int sumAmount(@Param(value = "date") Date date);

}